package com.grass.p019lv.novel.fragment;

import com.androidx.p013lv.base.http.BaseRes;
import com.androidx.p013lv.base.http.HttpUtils;
import com.androidx.p013lv.base.http.JsonParams;
import com.androidx.p013lv.base.http.UrlManager;
import com.androidx.p013lv.base.http.callback.HttpCallback;
import com.google.android.exoplayer2.text.ttml.TtmlNode;
import com.grass.p019lv.bean.NovelCommentBean;
import com.grass.p019lv.bean.NovelReplyBean;

/* renamed from: com.grass.lv.novel.fragment.NovelCommentHttpUtils */
public class NovelCommentHttpUtils {
    public static void commentLike(NovelCommentBean novelCommentBean) {
        HttpUtils.getInsatance().post(UrlManager.getInsatance().novelLike(), JsonParams.build().add(TtmlNode.ATTR_ID, novelCommentBean.getId()).commit(), new HttpCallback<BaseRes<String>>("commentLike") {
            /* class com.grass.p019lv.novel.fragment.NovelCommentHttpUtils.C31961 */

            public void onLvSuccess(BaseRes<String> baseRes) {
            }
        });
    }

    public static void commentUnlike(NovelCommentBean novelCommentBean) {
        HttpUtils.getInsatance().post(UrlManager.getInsatance().novelDislike(), JsonParams.build().add(TtmlNode.ATTR_ID, novelCommentBean.getId()).commit(), new HttpCallback<BaseRes<String>>("commentUnlike") {
            /* class com.grass.p019lv.novel.fragment.NovelCommentHttpUtils.C31972 */

            public void onLvSuccess(BaseRes<String> baseRes) {
            }
        });
    }

    public static void replyLike(NovelReplyBean novelReplyBean) {
        HttpUtils.getInsatance().post(UrlManager.getInsatance().novelLike(), JsonParams.build().add(TtmlNode.ATTR_ID, novelReplyBean.getId()).commit(), new HttpCallback<BaseRes<String>>("commentLike") {
            /* class com.grass.p019lv.novel.fragment.NovelCommentHttpUtils.C31983 */

            public void onLvSuccess(BaseRes<String> baseRes) {
            }
        });
    }

    public static void replyUnlike(NovelReplyBean novelReplyBean) {
        HttpUtils.getInsatance().post(UrlManager.getInsatance().novelDislike(), JsonParams.build().add(TtmlNode.ATTR_ID, novelReplyBean.getId()).commit(), new HttpCallback<BaseRes<String>>("commentUnlike") {
            /* class com.grass.p019lv.novel.fragment.NovelCommentHttpUtils.C31994 */

            public void onLvSuccess(BaseRes<String> baseRes) {
            }
        });
    }
}
